import request from '@/utils/request'
export function getOrderList(data) {
    return request({
        url: '/cemBusinessOrder/getMyOrderList',
        method: 'get',
        params: data
    })
}
export function getOrderDetail(data) {
    return request({
        url: '/cemBusinessOrder/orderAchList',
        method: 'get',
        params: data
    })
}

// 获取某一个客户的订单
export function cemBusinessOrderGetOneOrder(data) {
    return request({
        url: '/cemBusinessOrder/getOneOrder',
        method: 'get',
        params: data
    })
}

// 添加订单
// 获取某一个客户的订单
export function cemBusinessOrderInsertOrder(data) {
    return request({
        url: '/cemBusinessOrder/insertOrder',
        method: 'post',
        data
    })
}
